package com.spring.web.adminmanage.service;


import com.spring.web.adminmanage.common.PageResult;
import com.spring.web.adminmanage.entities.UserLoginLog;

/**
 * 基础服务类
 * @author lilinfeng
 */
public interface UserLoginLogService extends BaseService<UserLoginLog>{
	/**
	 * 添加用户登录日志
	 * @param userid 用户id
	 * @param remoteAddr 用户登录ip
	 */
	public void addLoginLog(Long userid, String remoteAddr);

	public PageResult<UserLoginLog> selectToPageResult(Integer pageSize, Integer pageNumber, String username, String ip,
													   String queryRegTimeRange);
}